package com.dz.goods.domain.entity;

import com.dz.common.core.entity.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Table(name="tb_brand")
@Data
@Entity
public class Brand extends BaseEntity implements Serializable {

    /**
     * 品牌id
     */
    @Id
    private Long id;
    /**
     * 品牌名称
     */
    @Column(name = "name")
    private String name;
    /**
     * 品牌图片地址
     */
    @Column(name = "brand_logo")
    private String brandLogo;

    /**
     * 品牌的首字母
     */
    @Column(name = "letter")
    private String letter;

    /**
     * 描述
     */
    @Column(name = "description")
    private String description;
    

}